<?php
class mmstr{
    public function init($params=array()){
		$this->db=$this->yum->library($this->yum->vars('app','database'));
		$this->prefix=$this->yum->vars('app','prefix');
	}
	public function GMmstr($params=array()){
    	return $this->db->select($this->prefix.'mmstr',$params);
    }
    public function IMmstr($params,$mode=0){
		return $this->db->insert($this->prefix.'mmstr',$params,$mode);
	}
	public function UMmstr($params){
		return $this->db->update($this->prefix.'mmstr',$params);
	}
}
?>